import { LOADING } from "../Const";
const initState = false
export default function fullscreenReducer(previousState=initState , action) {
    const {type , data} = action
    switch (type) {
        case LOADING:
            return data
        default:
            return previousState;
    }
}